package yamaia.musicPlayerTester;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class secT extends Activity {
	@Override 
    public void onCreate(Bundle savedInstanceState) {  
        super.onCreate(savedInstanceState); 

        /* Second Tab Content */ 
        TextView textView = new TextView(this);  
        textView.setText("Second Tab");  
        setContentView(textView);  
        Intent intent = getIntent();
        customTabHost tmp;
        if(intent.hasExtra("isObjectIntent")){
        	ObjectIntent tmpIntent = (ObjectIntent)intent;
        	if(tmpIntent.classMap.containsKey("tabHost")){
        		customTabHost tmpTabHost = tmpIntent.getcustomTabHostExtra("tabHost");
        		
        		
        		tmpTabHost.reSettingContents(2, tmpTabHost.newTabSpec("Tab33").setIndicator("tab33", R.drawable.star_big_on).
                		setContent(new Intent().setClass(this, FirstT.class)));
        		int x = 0;
        		x++;
        	}
        	
        }
        
    }  
}
